libs/guest: rework CFLAGS
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 25 Feb 2022 15:13:11 +0000 (15:13 +0000)
committerJulien Grall <jgrall@amazon.com>
Thu, 16 Jun 2022 15:58:50 +0000 (16:58 +0100)
commit74c01e32adbaa183bd6189da7ff2b62ac5bb3b68
tree1961dcce001b643d3f1fee001f5e4ebc92bd56e2
parent58be08a0e5e42d919d70e27ff31b29138255b564
libs/guest: rework CFLAGS

Remove '-Werror -Wmissing-progress -I./include $(CFLAGS_xeninclude)',
those flags are already added via "libs.mk".

Flag "-I." isn't needed, we just need to fix the #include of
"xg_core.h" as this header isn't expected to be installed.

Make use of "-iquote" instead of '-I' for double-quote included
headers.

Also, regroup the CFLAGS into the same place in the makefile.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
tools/libs/guest/Makefile
tools/libs/guest/xg_offline_page.c